package com.goldcn.sys.dto;

import com.goldcn.common.model.BaseModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * Created by Administrator on 2017/04/07. 对接dto
 */
public class UnitDto extends BaseModel {
    @ApiModelProperty(value = "主键")
    private String ID;

    @ApiModelProperty(value = "类型(1私享品2淘猪宝3京东4淘宝20其他)")
    private Integer type;

    @ApiModelProperty(value = "是否停用(0否，1是,2已删除)")
    private Integer isStop;

    /*@ApiModelProperty(value = "销售单位编码")
    private String unitCode;*/

    @ApiModelProperty(value = "销售单位名称")
    private String unitNname;

    @ApiModelProperty(value = "父级ID")
    private String pID;

    /*@ApiModelProperty(value = "业务地区编码")
    private String businessAreaCode;

    @ApiModelProperty(value = "业务地区名称")
    private String businessAreaName;

    @ApiModelProperty(value = "系统对接(0已授权1未授权)")
    private Integer isConn;

    @ApiModelProperty(value = "")
    private Long validity;

    @ApiModelProperty(value = "是否同步订单抓取(0同步1不同步)")
    private Integer isOrder;

    @ApiModelProperty(value = "是否同步出库状态(0同步1不同步)'")
    private Integer isOut;

    @ApiModelProperty(value = "是否同步发货状态（0同步,1不同步）")
    private Integer isSend;

    @ApiModelProperty(value = "排序")
    private Integer seq;*/

    /*@ApiModelProperty(value = "创建人")
    private String addUser;

    @ApiModelProperty(value = "创建时间")
    private Long addTime;

    @ApiModelProperty(value = "修改人")
    private String updateUser;

    @ApiModelProperty(value = "修改时间")
    private Long updateTime;*/

    @ApiModelProperty(value = "公司编码")
    private String accountCode;

    /*@ApiModelProperty(value = "备注")
    private String remark;*/

    @ApiModelProperty(value = "是否对接数据,0没有，1已对接")
    private Integer isJoint;

    public String getID() {
        return ID;
    }

    public void setID(String ID) {
        this.ID = ID;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getIsStop() {
        return isStop;
    }

    public void setIsStop(Integer isStop) {
        this.isStop = isStop;
    }

    /*public String getUnitCode() {
        return unitCode;
    }

    public void setUnitCode(String unitCode) {
        this.unitCode = unitCode;
    }*/

    public String getUnitNname() {
        return unitNname;
    }

    public void setUnitNname(String unitNname) {
        this.unitNname = unitNname;
    }

    public String getpID() {
        return pID;
    }

    public void setpID(String pID) {
        this.pID = pID;
    }

    public String getAccountCode() {
        return accountCode;
    }

    public void setAccountCode(String accountCode) {
        this.accountCode = accountCode;
    }

    public Integer getIsJoint() {
        return isJoint;
    }

    public void setIsJoint(Integer isJoint) {
        this.isJoint = isJoint;
    }
}

